import { postLoginApi } from '@/api/Login'

// actions
const actions = {
  async doLogin (_, Loginfrom) {
    const { data } = await postLoginApi(Loginfrom)
    return data
  }
}

export default {
  namespaced: true,
  actions
}
